﻿using EMall.Application;
using EMall.Query;
using Microsoft.AspNetCore.Identity;

namespace EMall.IdentityService.Users
{
    public interface IUserAppService : IApplicationService
    {
        Task CreateAsync(CreateUserDto input);
        Task UpdateAsync(UpdateUserDto input);
        Task DeleteAsync(DeleteUserDto input);
        Task<UserDto> GetAsync(int id);
        Task<IEnumerable<UserListDto>> GetListAsync(GetUserListQueryDto input);
        Task<IPagedList<UserListDto>> GetPagedListAsync(GetUserListPagingAndSortingQueryDto input);
    }
}
